-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(BA-674): Implement Image
Soft/Hard Delete APIs
#3628
base: topic/02-10-feat_add_status_to_image_imagenode_gql_field
Are you sure you want to change the base?
feat(BA-674): Implement Image
Soft/Hard Delete APIs
#3628
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Image
Soft/Hard Delete APIs
Image
Soft/Hard Delete APIsImage
Soft/Hard Delete APIs
55c29b4
to
574e5d7
Compare
I think What do you think about this naming? @HyeockJinKim |
6c6e0de
to
4403c81
Compare
f9e97c4
to
2709c9e
Compare
4403c81
to
abe5f22
Compare
2709c9e
to
65e082e
Compare
abe5f22
to
fdd6902
Compare
65e082e
to
b78befd
Compare
fdd6902
to
cdf1e63
Compare
581d7ce
to
f75988e
Compare
b4aa052
to
a7d872c
Compare
purge_image_by_id(image_id: String!): PurgeImageById | ||
|
||
"""Added in 25.3.1""" | ||
purge_image(architecture: String = "x86_64", reference: String!): PurgeImage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between purge_image_by_id?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
purge_image
is an API that deletes an image using its name as a string,
whereas purge_image_by_id
directly deletes an image using its image_id
(DB ID).
It follows the same structure as forget_image
and forget_image_by_id
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like it's nice to gradually deprecate the name-based APIs.
a7d872c
to
fcae57e
Compare
6484405
to
ad292e6
Compare
Resolves #3617 (BA-674)
Changes
Added CLI commands
mgr image purge
Updated CLI commands
mgr image forget
Added mutations
PurgeImageById
PurgeImage
Updated mutations
ForgetImageById
ForgetImage
ClearImages
Note
There is no Image REST API, so it has been omitted.
Checklist: (if applicable)
📚 Documentation preview 📚: https://sorna--3628.org.readthedocs.build/en/3628/
📚 Documentation preview 📚: https://sorna-ko--3628.org.readthedocs.build/ko/3628/